system/core/forums/forums.editpost.inc.php 
r944	 r948	 
49	49	 
50	50	        list($usr['auth_read'], $usr['auth_write'], $usr['isadmin']) = sed_auth('forums', $s); 
 	51	         
 	52	        /* === Hook === */ 
 	53	        $extp = sed_getextplugins('forums.editpost.rights'); 
 	54	        if (is_array($extp)) 
 	55	        { foreach($extp as $k => $pl) { include_once('plugins/'.$pl['pl_code'].'/'.$pl['pl_file'].'.php'); } } 
 	56	        /* ===== */ 
51	57	 
52	58	        if (!$usr['isadmin'] && $fp_posterid!=$usr['id']) 
system/core/forums/forums.inc.php 
r864	 r948	 
17	17	 
18	18	list($usr['auth_read'], $usr['auth_write'], $usr['isadmin']) = sed_auth('forums', 'any'); 
 	19	/* === Hook === */ 
 	20	$extp = sed_getextplugins('forums.sections.rights'); 
 	21	if (is_array($extp)) 
 	22	{ foreach($extp as $k => $pl) { include_once('plugins/'.$pl['pl_code'].'/'.$pl['pl_file'].'.php'); } } 
 	23	/* ===== */ 
19	24	sed_block($usr['auth_read']); 
20	25	 
system/core/forums/forums.newtopic.inc.php 
r864	 r948	 
59	59	 
60	60	        list($usr['auth_read'], $usr['auth_write'], $usr['isadmin']) = sed_auth('forums', $s); 
 	61	        /* === Hook === */ 
 	62	        $extp = sed_getextplugins('forums.newtopic.rights'); 
 	63	        if (is_array($extp)) 
 	64	        { foreach($extp as $k => $pl) { include_once('plugins/'.$pl['pl_code'].'/'.$pl['pl_file'].'.php'); } } 
 	65	        /* ===== */ 
61	66	        sed_block($usr['auth_write']); 
62	67	} 
system/core/forums/forums.posts.inc.php 
r864	 r948	 
117	117	 
118	118	        list($usr['auth_read'], $usr['auth_write'], $usr['isadmin']) = sed_auth('forums', $s); 
 	119	         
 	120	        /* === Hook === */ 
 	121	        $extp = sed_getextplugins('forums.posts.rights'); 
 	122	        if (is_array($extp)) 
 	123	        { foreach($extp as $k => $pl) { include_once('plugins/'.$pl['pl_code'].'/'.$pl['pl_file'].'.php'); } } 
 	124	        /* ===== */ 
 	125	         
119	126	        sed_block($usr['auth_read']); 
120	127	 
system/core/forums/forums.topics.inc.php 
r944	 r948	 
31	31	 
32	32	list($usr['auth_read'], $usr['auth_write'], $usr['isadmin']) = sed_auth('forums', $s); 
 	33	/* === Hook === */ 
 	34	$extp = sed_getextplugins('forums.topics.rights'); 
 	35	if (is_array($extp)) 
 	36	{ foreach($extp as $k => $pl) { include_once('plugins/'.$pl['pl_code'].'/'.$pl['pl_file'].'.php'); } } 
 	37	/* ===== */ 
33	38	sed_block($usr['auth_read']); 
34	39	 